Xbasic

OBJECT.ACTIVE_DRILLDOWN Function

Syntax

Object_Name as C = .Active_Drilldown([L force_active_children])

Arguments

force_active_children

Optional. For internal use only.

Description

Returns the name of the deepest control that has focus.

Discussion

The <OBJECT>.ACTIVE_DRILLDOWN() method applies to:

Alpha Anywhere (for <OBJECT> use the keyword "A5")
Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.ACTIVE_DRILLDOWN() method returns the address of the deepest control that has focus.

active_field = topparent.Active_Drilldown()
dim ptr as P
ptr = browse.view("CustomerBrowse")
? ptr.Active_Drilldown() ? ":CustomerBrowse:First_Name"

Limitations

Desktop applications only.

See Also